<style type="text/css">
.row .s-content {
	margin: 0 30%;
    width: 40%;
}
body {
	background: none repeat scroll 0 0 #e4e7ea;
}
.nomargin {
	text-align: center;
}
</style>
<section>
    <div class="signinpanel">
        <div class="row">
            <div class="s-content">
                <form class="form-signin" action="/user/login" method="post">
                    <h4 class="nomargin">ERP管理系统(2.0版)</h4>
                    <input id="inputName" name="name" type="text" class="form-control uname" autocomplete="off" placeholder="用户名" />
                    <input id="inputPassword" name="pass" type="password" class="form-control pword" autocomplete="off" placeholder="密码" />
                    <div  class="form-inline">
                        <div class="form-group" style="margin-right: 5px;">
                            <input style="width: 149px;" name="useryz" class="form-control" type="text"  placeholder="验证码" autocomplete="off" />
                        </div>
                        <div class="form-group" style="margin-right: 0px;">
                            <img src="/user/image?random=1234" alt="图像" style="width: 100px;height: 40px; padding: 1px; cursor: pointer;" class="form-control" onclick="refreshItemYz(this);" id="yzImg" />
                        </div>
                    </div>
                    <button class="btn btn-success btn-block" type="submit">登录</button>
                </form>
            </div>
        </div>
        
        <div class="signup-footer">
            <div class="pull-left">
                &copy; 2015. All Rights Reserved. http://stock.gogoalshop.com
            </div>
            <div class="pull-right">
                Created By: <a href="http://www.gogoalshop.com/" target="_blank">TT</a>
            </div>
        </div>
    </div>
</section>
<script>
$(document).ready(
	function($){
		/**$('input[name="useryz"]').focus(function(){
		    $('#yzImg').attr('src','/user/image?random='+Math.random());
		});*/
		$("img").click(function(){
			$('#yzImg').attr('src','/user/image?random='+Math.random());
		});
	}
);
</script>